-
Notifications
You must be signed in to change notification settings - Fork 2.1k
feat(firestore): Index delete protection on Firestore index #16233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(firestore): Index delete protection on Firestore index #16233
Conversation
|
Hello! I am a robot. Tests will require approval from a repository maintainer to run. Googlers: For automatic test runs see go/terraform-auto-test-runs. @c2thorn, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look. You can help make sure that review is quick by doing a self-review and by running impacted tests locally. |
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
Tests analyticsTotal tests: 709 Click here to see the affected service packages
Action takenFound 2 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
|
@c2thorn This PR has been waiting for review for 3 weekdays. Please take a look! Use the label |
|
@GoogleCloudPlatform/terraform-team @c2thorn This PR has been waiting for review for 1 week. Please take a look! Use the label |
c2thorn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @pcostell,
We have a project to add universal deletion protection that is being worked on right now: hashicorp/terraform-provider-google#25072
It's a large change, I don't have an ETA for it, but it's a priority item for our team this quarter. Looking at the implementation you've created here, it would cover the behavior, just in a deletion_policy field instead of deletion_protection
In order to avoid duplicate fields and implementations, would it be servicable to wait for the universal option?
|
Thanks @c2thorn , that's great to hear. Given indexing can take hours and can have a major impact on customer workloads, I'd prefer not waiting if we don't have a close ETA. I'm wondering if I could migrate this to a |
Change-Id: Id285310cbb1d95ea899653d15726e1886e9f51b8
3fe9107 to
308e63f
Compare
Non-exercised tests🔴 Tests were added that are skipped in VCR:
Tests analyticsTotal tests: 0 Click here to see the affected service packages
🔴 Errors occurred during REPLAYING mode. Please fix them to complete your PR. View the build log |
Change-Id: I2e8382d15b9aa654e70047a4ea5edfe47ac47328
308e63f to
8bd0d26
Compare
Tests analyticsTotal tests: 32 Click here to see the affected service packages
Action takenFound 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
|
With it being named as |
c2thorn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with the deletion_policy swap.
Add index delete protection to Firestore indexes.
When set to PREVENT, Firestore will reject deletion of index resources from terraform until set to false.
Release Note Template for Downstream PRs (will be copied)